package com.ztgf.commodity.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

import com.ztgf.common.dto.BaseDTO;

/**
 * 商品套餐关系表DTO
 *
 * @author chenyu.wang
 * @Date 2020-06-15 14:09:15
 */
@Data
@TableName("commodity_combo_relation")
@ApiModel(value = "商品套餐关系表对象", description = "商品套餐关系表对象")
public class CommodityComboRelationDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "套餐名称")
    private String comboName;

    @ApiModelProperty(value = "税率 除以100")
    private Integer taxRate;

    @ApiModelProperty(value = "单价 不填，询价")
    private BigDecimal price;

    @ApiModelProperty(value = "批发价 不填，询价")
    private BigDecimal wholesalePrice;

    @ApiModelProperty(value = "库存")
    private Integer inventoryNumber;

    @ApiModelProperty(value = "尺寸 长*宽*高")
    private String commoditySize;

    @ApiModelProperty(value = "尺寸单位 0毫米、1厘米、2米")
    private Integer commoditySizeUnit;

    @ApiModelProperty(value = "商品单位表id")
    private Long commodityUnit;

    @ApiModelProperty(value = "库存预警")
    private Integer inventoryNumberWarning;

    @ApiModelProperty(value = "起批数量")
    private Integer batchNumber;

    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "是否查看，0未查看，1已查看")
    private Integer isLook;
}